In actual work, we want to use PHP to create a dynamic PDF document, there are many open source PHP to create a PDF class library, today I would like to introduce you to a good PDF library, it is tcpdf,tcpdf is a fast-generated PDF file PHP5
The "php100 translation" PDF full name Portable Document format, translated as portable, is an Adobe company-launched document format. The PDF has an OS-independent feature that makes it an ideal document format for electronic document distribution
The need for PHP to generate PDF files is not very common;Since it has been integrated, then write a blog to explain it;Example Project: Http://git.oschina.net/shuaibai123/thinkphp-bjyadminOne: Introduction of Tcpdf/thinkphp/library/vendor/tcpdfCopy
: This article describes how to generate PDF files in PHP. For more information about PHP tutorials, see.
This document describes how to generate a PDF file in PHP. We use the TCPDF open-source plug-in to generate PDF documents in PHP. You can
C + + libraries:1,pdf Class Library Podofohttp://podofo.sourceforge.net/Podofo is a C + + class library for manipulating PDF file formats. It also contains widgets for parsing, modifying, and creating PDF
C + + libraries:1,pdf Class Library Podofohttp://podofo.sourceforge.net/Podofo is a C + + class library for manipulating PDF file formats. It also contains widgets for parsing, modifying, and creating PDF
In php, images are generated on webpages, similar to long Weibo Image Generators. Reading Guide: due to the Media Station's Weibo communication needs, the article body must be transmitted in the form of images when it is forwarded to Sina Weibo, to
Tcpdf, the coordinates of the problem.
Finally convinced oneself or a output bar, don't turn, but
$pdf->image ('./images/invoice/oxford-summer-school-logo.gif ', ', ', ', ', ', ' gif ');
HTML page slice is marginp-top:38px margin-left:40px
Watermark, 38, GIF); the html page is marginp-top: 38pxmargin-left: 40px, but it is written in tcpd. the coordinate problem of tcpdf
It's hard to convince myself to output data one by one. don't turn it around,
$ Pdf-> Image ('./images/invoice/
It was a long time to generate execl using php. I usually use csv instead. Now there are a lot of such tools and they are quite mature. Not only excel, word, and pdf are available.
1. Use php excelreader to operate the php class of excel, generate
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.